cmake_minimum_required(VERSION 3.20)
project(egeUI)

set(CMAKE_CXX_STANDARD 14)
set(EGE_INC_DIR F:/AppData/C++library/EGE20.08/include)
set(EGE_LINK_DIR F:/AppData/C++library/EGE20.08/lib/mingw64)
include_directories(${EGE_INC_DIR})
link_directories(${EGE_LINK_DIR})

add_executable(egeUI main.cpp bintree.cpp bintree.h)

target_link_libraries(egeUI libgraphics64.a
        libgdi32.a libimm32.a libmsimg32.a libole32.a
        liboleaut32.a libwinmm.a libuuid.a libgdiplus.a)


add_executable(main2 main2.cpp)
target_link_libraries(main2 libgraphics64.a
        libgdi32.a libimm32.a libmsimg32.a libole32.a
        liboleaut32.a libwinmm.a libuuid.a libgdiplus.a)
add_executable(test test.cpp)
add_executable(test2 test2.cpp)